/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Admin
 * Date: 2022-05-07
 * Time: 18:34
 */
public class Main {
    public static void main(String[] args) {
        Link link = new Link();
        link.addFirst(12);
        link.addFirst(12);
        link.addFirst(12);
        link.addFirst(12);
        link.addFirst(12);
        link.Display();
        link.clear();
        link.Display();
    }
}